package com.example.netty.constant;

/**
 * @author zclever <304078606@qq.com>
 * @date 2021-03-03
 */
public class ResMessageType {

    /** 进入游戏 */
    public final static int inGame = 200010;
    /** 返回匹配成功 */
    public final static int resMatchSuccess = 200020;
    /** 返回匹配失败 */
    public final static int resMatchFail = 200021;
    /** 返回匹配等待 */
    public final static int resMatchWait = 200022;
    /** 取消匹配成功 */
    public final static int cancelMatch = 200030;
    /** 创建房间成功 */
    public final static int addRoomSuccess = 200040;
    /** 进入房间成功 */
    public final static int inRoomSuccess = 200050;
    /** 进入房间失败 */
    public final static int inRoomFail = 200051;
    /** 退出房间 */
    public final static int outRoom = 200060;
    /** 开始战斗 */
    public final static int startFight = 200070;
    /** 攻击成功 */
    public final static int attack = 200080;
    /** 他人攻击 */
    public final static int otherAttack = 200081;
    /** 攻击失败 */
    public final static int attackFail = 200089;
    /** 改变风向 */
    public final static int wind = 200100;
    /** 结束战斗 */
    public final static int endFight = 200110;
    /** 退出游戏 */
    public final static int outGame = 200800;
    /** 心跳 */
    public final static int ping = 200099;
}
